package com.example.imtoken.modules.main.wallet.collection

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.example.imtoken.databinding.ItemCollectionViewBinding
import com.example.imtoken.entitys.app.WalletsEntity

class CollectionAdapter(layoutResId: Int) :
    BaseQuickAdapter<WalletsEntity, BaseDataBindingHolder<ItemCollectionViewBinding>>(layoutResId) {
    override fun convert(
        holder: BaseDataBindingHolder<ItemCollectionViewBinding>,
        item: WalletsEntity
    ) {
        holder.dataBinding?.collection = item
    }

}